package com.atguigu.serviceorder.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author JY
 * @create 2021-02-04 11:38
 */
@Component
@FeignClient(name = "service-edu")
public interface EduClient {

    @GetMapping("/serviceedu/coursefront/getOrderCourseInfo/{courseId}")
    public com.atguigu.commonutils.vo.CourseWebVo getOrderCourseInfo(@PathVariable("courseId") String courseId);
}
